package cn.john.hrm.dto;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

public class RefreshTokenDto {
    @NotBlank(message = "refreshToken 不能为空!!")
    private String refreshToken;
    @NotNull(message = "用户类型不能为空!!")
    private Integer type;

    public String getRefreshToken() {
        return refreshToken;
    }

    public void setRefreshToken(String refreshToken) {
        this.refreshToken = refreshToken;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }
}
